id/email
password
forgot password | create account
about | help | prefs
ReadingBatcode reading practice

 

 

Athenian: Variablessubtract3

prev  |  next  |  chance

Determine the value returned by the function.

def diff(num1, num2):
    total = num1 + num2
    return total
Function Call  Return Value
diff(5, 2)
diff(5, 8)
diff(12, 6)
diff(5, 5)

Experiment with this code on Gitpod.io

⬅ Back